package com.itheima.constructor;

public class Test {
    public static void main(String[] args) {
        //认识构造器
        Student stu = new Student("11",79);

        Student stu1 = new Student();
        stu1.name = "22";
        stu1.score = 89;

        Student stu2 = new Student("33",99);
        System.out.println(stu2.name);
        System.out.println(stu2.score);
    }
}
